package org.jpro.modules.system.utils;

import org.apache.shiro.authc.UsernamePasswordToken;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 扩展添加验证码-继承用户验证类
 * @author ty
 * @date 2014年12月2日 下午10:45:57
 */
@Getter
@Setter
@NoArgsConstructor
public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {

    private static final long serialVersionUID = 1L;

    private String captcha;

    public UsernamePasswordCaptchaToken(String username, char[] password, boolean rememberMe, String host, String captcha) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
    }

}